﻿app.controller('DetailsController', ['$scope', 'ArtistDetailsFactory', '$routeParams', function ($scope, ArtistDetailsFactory, $routeParams) {
    $scope.artist = ArtistDetailsFactory.artist;
    ArtistDetailsFactory.GetArtistDetails($routeParams.id).then(function (data) {
        $scope.artist = data;
    });

}]);